package com.ugtss.busniess.domain;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @description 所有公司对应的招聘信息实体类
 */
@Data
public class RecruitDomain {

    private Integer id;

    private Integer companyId;

    private String jobName;

    private String jobType;

    private String jobRequire; // 职位要求

    private Double minSalary; // 薪资范围

    private Double maxSalary;

    private String jobAddress;

    private String jobDescribe;

    private String jobBenefits; // 职位福利

//    private String jobTime; // 职位发布时间

    private Integer jobStatus; // 职位状态 1 在招 2 停止招聘 其他 未知状态

    private String jobImg;

    private String jobUrl; // 职位链接

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date jobCreateTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date jobUpdateTime;

    private String demand;//专业需求

}
